//
//  NSData+Category.h
//  FurryCity
//
//  Created by 王大虎 on 2023/1/3.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSData (Category)
/**
 *  生成Base64加密后的编码
 *
 *  @return <#return value description#>
 */
- (nullable NSString *)base64EncodedString;

/**
 *  反编码
 *
 *  @param base64EncodedString <#base64EncodedString description#>
 *
 *  @return <#return value description#>
 */
+ (nullable NSData *)dataWithBase64EncodedString:(nullable NSString *)base64EncodedString;

@end

NS_ASSUME_NONNULL_END
